{extend name="layout/main" /}

{block name="header"}

{/block}

{block name="content"}
<section class="panel">
    <header class="panel-heading">
        <h4>排行榜</h4>
        <p>直推人数为当天认证成功的会员</p>
    </header>
    <div class="panel-body" style="padding-bottom: 50px">
        <table class="table table-bordered table-striped no-margin">
            <thead>
            <tr>
                <th class="text-center">用户昵称</th>
                <th class="text-center">账号</th>
                <th class="text-center">直推人数</th>
                <!-- <th class="text-center">开采率</th> -->
                <th class="text-center">注册时间</th>
            </tr>
            </thead>
            <tbody>
            {if !empty($list)}
            {foreach $list as $entity}
            <tr>
                <td class="text-center">{$entity['nick_name']}</td>
                <td class="text-center">{$entity['mobile']}</td>
                <td class="text-center">
                    {$entity['total']}
                </td>
                <!-- <td class="text-center">
                    {$entity['product_rate']}
                </td> -->
                <td class="text-center">
                    {:date('Y-m-d H:i:s',$entity['register_time'])}
                </td>
            </tr>
            {/foreach}
            {else /}
            <tr class="text-center">
                <td colspan="5">暂无数据</td>
            </tr>
            {/if}
            </tbody>
        </table>
    </div>
</section>
{/block}


{block name="footer"}

{/block}